package site.lanmushan.framework.authorization.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import site.lanmushan.framework.authorization.Authority;

import java.util.List;

/**
 * @author Administrator
 */
@Data
@ConfigurationProperties(prefix = "slash.security")
@EnableConfigurationProperties(SecurityProperties.class)
@Configuration
public class SecurityProperties {
    List<Authority> allows;
}
